package basis.ioc.setterDI;

import basis.ioc.VehicleFactory;

public class Test {
    public static void main(String[] args) {
        Driver driver = new BMWDriver();
        driver.setVehicle(VehicleFactory.createIVehicle("basis.basis.ioc.BMW"));
        driver.move();
    }
}
